package com.xgll.modules.api.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xgll.modules.api.entity.GoodsVo;
import com.xgll.modules.sys.dao.BaseDao;

/**
 * @author blowfish
 * @email lsc0630@tom.com
 * @date 2017-08-11 09:16:45
 */
@Mapper
public interface ApiGoodsMapper extends BaseDao<GoodsVo> {

    int countKeyWord(Map<String ,Object> map);

    Integer queryCount(Map<String ,Object> map);

    List<Map<String ,Object>> pagingSearchById(Map<String,Object> map);

    List<Map<String, Object>> homeGoods(Integer cId);

    List<Map<String ,Object>> searchById(Map<String, Object> map);

    List<GoodsVo> searchByKeyWord(Map<String ,Object> map);

    List<GoodsVo> queryHotGoodsList(Map<String, Object> params);

    List<GoodsVo> queryCatalogProductList(Map<String, Object> params);
}
